package com.wgz.flag.service;

import com.wgz.flag.domain.dto.LoginDto;
import com.wgz.flag.domain.dto.RegisterDto;
import com.wgz.flag.domain.dto.ResetPasswordDto;
import com.wgz.flag.domain.vo.UserLoginVo;
import com.wgz.flag.entity.User;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;

public interface UserService {
    List<User> getAllUsers(User user);

    UserLoginVo login(LoginDto loginDto);

    void register(RegisterDto registerDto);

    List<User> getAllUserInfo();

    User selectById(Long id);

    void updateUserInfo(User user);

    String uploadAvatar(MultipartFile file);

    void updateUserPassword(ResetPasswordDto resetPasswordDto);
}